<template>
	<view class="shx">
		<view class="message_top">
			<view class="message_top_title" :style="{top:computedTop}"></view>
			<view class="message_top_back" :style="{top:computedTop}" @click="Back">
				<image src="../../static/search/back.png" class="bfbimages"></image>
			</view>
		</view>
		
		<view class="shx_images flex">
			<image src="../../static/or_success.png" class="bfbimages"></image>
		</view>
		<view class="shx_text">评价成功</view>
		<view class="shx_text" style="font-size: 28rpx;font-weight: 500;color: #999999;"></view>
		<view class="shx_btn" style="height: 0;"></view>
		<view class="shx_btn" style="background-color: #FFFFFF;color: #333333;border: 2rpx solid #999999;margin: 50rpx auto 0;" @click="Back">返回首页</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				menuButtonInfo: null,
			}
		},
		computed: {
			computedTop() {
				if (this.menuButtonInfo) {
					return `${this.menuButtonInfo.height * 2 - 6}px`;
				}
				return '0px';
			},
		},
		onLoad() {
			const info = uni.getMenuButtonBoundingClientRect();
			this.menuButtonInfo = info;
		},
		methods: {
			LinkPj(){
				uni.navigateTo({
					url:'/pages/evaluate/evaluate'
				})
			},
			Back() {
				uni.navigateBack({
					delta:3
				})
			}
		}
	}
</script>

<style lang="scss">
	.shx {
		width: 100vw;
		height: 100vh;
		float: left;

		.message_top {
			width: 100%;
			height: 200rpx;
			position: relative;

			.message_top_title {
				width: 100%;
				text-align: center;
				font-family: PingFang SC, PingFang SC;
				font-weight: bold;
				font-size: 36rpx;
				color: #333333;
				position: absolute;
				left: 0;
				z-index: 2;
			}

			.message_top_back {
				width: 44rpx;
				height: 44rpx;
				position: absolute;
				left: 30rpx;
				z-index: 9;
			}
		}
		
		.shx_images{
			width: 141rpx;
			height: 141rpx;
			text-align: center;
			line-height: 141rpx;
			margin: 150rpx auto 0;
		}
		.shx_text{
			width: 100%;
			text-align: center;
			margin-top: 20rpx auto 0;
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 32rpx;
			color: #333333;
		}
		.shx_btn{
			width: 431rpx;
			height: 79rpx;
			border-radius: 50rpx;
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 30rpx;
			text-align: center;
			line-height: 79rpx;
			margin: 183rpx auto 0;
		}
	}
</style>